package com.kool.kadmin.system.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author luyu
 */
@Data
public class SendMsgReq {
    /**
     * 发送者id
     */
    private Long senderId;
    /**
     * 接收者id
     */
    private Long receiverId;
    /**
     * 消息内容
     */
    @NotBlank(message = "消息不能为空")
    private String content;
    /**
     * 消息类型
     *
     * @see com.kool.eops.system.constant.MsgTypeEnum
     */
    private Integer msgType;
    /**
     * 服务名
     */
    private String serviceName;
}
